 <style>
.result-content table th,.result-content table td{
 text-align:center;
}
 .box{width:970px; padding:10px 20px; background-color:#fff; margin:10px auto;}
.box a{padding-right:20px;}
.laydate_top{width:260px;}
#laydate_box{width:280px;}
#laydate_YY{width:125px;}
#laydate_MM{width:100px;}
#laydate_table{width:268px;}
form{margin:0;padding:0;}

</style>


 <script src="/Public/laydate/laydate.js"></script>
 <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('Index/index')}">首页</a><span class="crumb-step">&gt;</span><span class="crumb-step">&gt;</span><span>打赏明细</span></div>
        </div>
		 <div class="search-wrap">
            <div class="search-content">
                <form action="{:U('Product/search')}" method="get">
                    <table class="search-tab">
                        <tr>
                            <th width="120">今日打赏总额:</th>
                            <td>
                              {$jinridashang}元
                            </td>
							<th>
							 &nbsp;&nbsp;&nbsp;&nbsp;今日返佣：{$fm}元  &nbsp;&nbsp;&nbsp;&nbsp;收益：
							</th>
						    <td>{$jinrishouyi-$fm}元</td>
							
                            <th></th>
                            <td><input style="width:100px;" placeholder="请输入日期" class="laydate-icon" id="time" name='day' onClick="laydate()" value=""></td>
                            <td><input class="btn btn-primary btn2" name="sub" value="查询" type="submit"></td>
                        </tr>
						
                    </table>
                </form>
            </div>
			
			<div class="search-content">
                <form action="{:U('Product/se')}" method="get">
                    <table class="search-tab">
                        <tr>
                            <th width="120">按时间段搜索:</th>
                           
                            <td><input style="width:100px;" placeholder="开始日期" class="laydate-icon" id="time" name='start' onClick="laydate()" value=""> </td>
							
							<td> --<input style="width:100px;" placeholder="结束日期" class="laydate-icon" id="time" name='end' onClick="laydate()" value=""></td>
                            <td><input class="btn btn-primary btn2" name="sub" value="查询" type="submit"></td>
                        </tr>
						
                    </table>
                </form>
            </div>
        </div>

        <div class="result-wrap">
            <div class="result-content">
                <form action="" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody>
                            <tr>
                                
								
                                <th>打赏金额</th>
                                <th>打赏时间</th>
                                <th>打赏视频[点击看详情]</th>
                            </tr>
						<volist name="re" id="v">	
							<tr>
	                           
	                          
								<td>{$v.money}元</td>
	                            <td>{$v.time|date="Y-m-d H:i:s",###}</td>
	                            <td id="tu{$v.pid}">
	                            
								<a onclick="datu({$v.vid})" style="cursor:pointer;">
								  {$v.title}
								</a>
								
								
	                            </td>
                            </tr>
                        </volist>    
						
                          
                            
                            <tr class="list-page">
                             
                                <td colspan="4" style="text-align:center;" >{$page}</td>
                            </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
<script>
    function datu(i){
		layer.open({
		  type: 2,
		  title: '视频详情',
		  shadeClose: true,
		  shade: 0.8,
		  area: ['80%', '90%'],
		  content: '{:U("Product/datu")}?id='+i //iframe的url
		}); 
	}
</script>